package lanxing.bootstrap.json;

import java.io.FileNotFoundException;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author <a href="mailto:lanxing@chances.com.cn">lanxing</a>
 * @version 2019年7月16日
 *
 */
@Service
public class LoadTextDataService {
    @Autowired
    LoadTextData loadTextData;

    @PostConstruct
    public void initData() {
    }

    public void reload() throws FileNotFoundException {
        loadTextData.initData();
        initData();
    }
}
